PythonLightenStyle 类设置基色代码报错.pdf 标签: python LightenStyle 执行如下python程序,报错AttributeError: 'NoneType' object has no attribute 'startswith' ,原因是LightenStyle 类设置基色代码报错,详细解决方案可参考本文。